//
//  YYImageCryptoManager.h
//  Pthread
//
//  Created by Yanyan Jiang on 2025/3/7.
//  Copyright © 2025 Yanyan Jiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


NS_ASSUME_NONNULL_BEGIN

@interface YYImageCryptoManager : NSObject

// 加密图片
+ (NSData *)encryptImage:(UIImage *)image key:(NSData *)key iv:(NSData *)iv;

// 解密图片
+ (UIImage *)decryptImageData:(NSData *)encryptedData key:(NSData *)key iv:(NSData *)iv;

@end

NS_ASSUME_NONNULL_END
